package org.keyyond.ms.scheduler.jobs;

import org.keyyond.ms.scheduler.service.MsEsbDcpProjService;
import org.quartz.DisallowConcurrentExecution;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;

@DisallowConcurrentExecution
public class SendDcpProjToNc implements BaseJob{
    
    @Autowired
    private MsEsbDcpProjService dcpProjService;

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
	// TODO Auto-generated method stub
	dcpProjService.sendProjByPageToNc();
    }

}
